﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectBase.Application
{
    public abstract class TextBase
    {
        public string SourceText { get; set; }

        public virtual void Render()
        {
            Console.WriteLine("");
            Console.WriteLine("--- Source:", SourceText);
            Console.WriteLine("{0}", SourceText);
            Console.WriteLine("");
            Console.WriteLine("--- Wiki .NET:");
            Console.WriteLine("{0}", ResourceManager.ConvertWikiToHtml(SourceText));
            Console.WriteLine("");
        }
    }
}
